//
//  ApiConstant.h
//  bsl-sdk
//
//  Created by Fanty on 13-12-1.
//
//

#import <Foundation/Foundation.h>

@interface ApiConstant : NSObject

+(ApiConstant*)defaultConstant;

//应用app key
@property(nonatomic,strong) NSString* appKey;

//应用app secret
@property(nonatomic,strong) NSString* appSecret;

//连接服务器
@property(nonatomic,strong) NSString* serverURLHost;

//是否使用sandbox环境
@property(nonatomic,assign) BOOL sandBoxEnviroment;

//应用验证api
-(NSURL*)appCheckClient;

//应用版本检测接口
-(NSURL*)appVersionCheck;


//附件接口
-(NSURL*)attachmentByIdURL:(NSString*)aId accountToken:(NSString*)accountToken;

-(NSString*)attachmentByAIdWithNoAppKey:(NSString*)aId;


//新版本地址
-(NSURL*)applicationNewVersionLink:(NSString*)downloadUrl;

//应用签到接口
-(NSURL*)deviceRegisterURL;


@end
